//Usage of pointer to an array

#include<stdio.h>
#include<conio.h>
void main()
{
	int s[4][2] = {
						{1234, 56},

						{1212, 33},

						{1434, 80},

						{1312, 78}
				  };
	int (*p)[2];
	int c, r, *pint;  // r = row, c = column

	clrscr();

	for(r = 0; r <= 3; r++)
	{
		p = &s[r];

		pint = (int*)p;

		printf("\n\n\t");

		for(c = 0; c <= 1; c++)
		{
		 if(r == 0 && c == 0) //Commented lines are for pickuping
								// particular element.
		{
				printf("\t%d", *(pint + c));
		}
		if(r == 2 && c == 1)
		{
				printf("\t%d", *(pint + c));
		}

		}
	}

	getch();
}